
<div  ng-controller="DemoCtrl"  >
    <button ng-click="addNode()">addNode</button>
    <div dv-tree tree-nodes="{{treeNodes()}}"
         config="treeNodes()"
         node-click="nodeClick(element,node)"
         node-render="nodeRender(node)"
         class="tree smart-form"> </div>

    <button ng-click="addNode()">addNode</button>
    <div dv-tree tree-nodes="{{treeNodes()}}"
         config="treeNodes()"
         node-click="nodeClick(element,node)"
         class="tree smart-form"> </div>
</div>

<!--
    <ul>
        <li>
            <span refresh-icon="fa fa-lg fa-refresh" extend-icon="fa fa-lg fa-folder-open" collapse-icon="fa fa-lg fa-folder" ><i class="fa fa-lg fa-folder-open"></i> Parent</span>
            <ul>
                <li>
                    <span><i class="fa fa-lg fa-plus-circle"></i> Administrators</span>
                    <ul>
                        <li style="display:none">
													<span> <label class="checkbox inline-block">
                                                        <input type="checkbox" name="checkbox-inline">
                                                        <i></i>Michael.Jackson</label> </span>
                        </li>
                        <li style="display:none">
													<span> <label class="checkbox inline-block">
                                                        <input type="checkbox" checked="checked" name="checkbox-inline">
                                                        <i></i>Sunny.Ahmed</label> </span>
                        </li>
                        <li style="display:none">
													<span> <label class="checkbox inline-block">
                                                        <input type="checkbox" checked="checked" name="checkbox-inline">
                                                        <i></i>Jackie.Chan</label> </span>
                        </li>
                    </ul>
                </li>
                <li>
                    <span><i class="fa fa-lg fa-minus-circle"></i> Child</span>
                    <ul>
                        <li>
                            <span><i class="icon-leaf"></i> Grand Child</span>
                        </li>
                        <li>
                            <span><i class="icon-leaf"></i> Grand Child</span>
                        </li>
                        <li>
                            <span><i class="fa fa-lg fa-plus-circle"></i> Grand Child</span>
                            <ul>
                                <li style="display:none">
                                    <span><i class="fa fa-lg fa-plus-circle"></i> Great Grand Child</span>
                                    <ul>
                                        <li style="display:none">
                                            <span><i class="icon-leaf"></i> Great great Grand Child</span>
                                        </li>
                                        <li style="display:none">
                                            <span><i class="icon-leaf"></i> Great great Grand Child</span>
                                        </li>
                                    </ul>
                                </li>
                                <li style="display:none">
                                    <span><i class="icon-leaf"></i> Great Grand Child</span>
                                </li>
                                <li style="display:none">
                                    <span><i class="icon-leaf"></i> Great Grand Child</span>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
        <li>
            <span><i class="fa fa-lg fa-folder-open"></i> Parent2</span>
            <ul>
                <li>
                    <span><i class="icon-leaf"></i> Child</span>
                </li>
            </ul>
        </li>
    </ul>-->
</div>